package com.hp.sso.qq.connet;

import org.springframework.social.connect.support.OAuth2ConnectionFactory;

import com.hp.sso.qq.api.QQAPIInterface;

/**
 * @author hp
 *
 */
public class QQConnectionFactory extends OAuth2ConnectionFactory<QQAPIInterface> {

	public QQConnectionFactory(String providerId, String appId, String appSecret) {
		super(providerId, new QQServiceProvider(appId, appSecret), new QQAPiAdapter());
	}

}
